
#ifndef __WIFI_STA_H__
#define __WIFI_STA_H__

#ifdef __cplusplus
extern "C" {
#endif

extern void wifi_sta_init(void);
extern int wifi_sta_wait_ready(uint32_t timeout);
extern void wifi_sta_scan_aps_start(void);
extern void wifi_sta_scan_aps_stop(void);

extern const char *wifi_sta_auth_method_name(int authmode);
extern int wifi_sta_auth_method_type(const char *auth);
extern void wifi_sta_connect_new_ap(const char *ap, const char *pw, int auth);

#ifdef __cplusplus
}
#endif

#endif
